<html xmlns:th="http://www.thymeleaf.org"  
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"    
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">    
<html>
<head th:include="common/common::header">
</head>
<body>
<div style="background: #1B8CF2;">
		<form id="msform"  action="/system/gen/gendo.do"  method="post">
		<input name="tables" type="hidden"  th:value="${tableName}">
	<!-- progressbar -->
	<ul id="progressbar">
		<li class="active">填入作者</li>
		<li>是否需要生成mapper</li>
		<li>是否需要生成页面</li>
	</ul>
	<!-- fieldsets -->
	<fieldset>
		<h2 class="fs-title">Please write your name</h2>
		<h3 class="fs-subtitle">第一步</h3>
		<input type="text" name="author" placeholder="Arain" />
		<input type="button" name="next" class="next action-button" value="Next" />
	</fieldset>
	<fieldset>
		<h2 class="fs-title">DO YOU NEED TO GENERATE A MAPPER </h2>
		<h3 class="fs-subtitle">第二步</h3>
		<input type="radio" name="mapper" value="1" style="width:30%" />是
		<input type="radio" name="mapper" value="0" style="width:30%" checked />否
		<input type="button" name="previous" class="previous action-button" value="Previous" />
		<input type="button" name="next" class="next action-button" value="Next" />
	</fieldset>
	<fieldset>
		<h2 class="fs-title">Do you need to generate a page</h2>
		<h3 class="fs-subtitle">最后一步</h3>
		<input type="radio" name="page" value="1" style="width:30%" />是
		<input type="radio" name="page" value="0" style="width:30%" checked />否
		<input type="button" name="previous" class="previous action-button" value="Previous" />
		<input type="submit"    class="submit action-button" value="Submit" />
	</fieldset>
</form>
</div>
<link rel="stylesheet" media="screen" th:href="@{/base/gen/css/zzsc.css}" />
<script th:src="@{http://thecodeplayer.com/uploads/js/jquery.easing.min.js}" type="text/javascript"></script>
<script th:src="@{/base/gen/js/zzsc.js}" type="text/javascript"></script>
<div style="text-align:center;clear:both">
</div>
</body>
<script type="text/javascript">
// $(".submit").click(function(){
// 	$('#msform').form('submit',{
// 		url:'/system/gen/gendo.do"',
// 		onSubmit:function(){
// 			return $(this).form('enableValidation').form('validate');
// 		},
// 		 success: function (data) {
// 				console.log("xxx")
// 		 }
// 	});

// })

// $("#aaa").click(function(){
// 	console.log("xxxx")
// })
</script>
</html>